const state = {
  menus: []
};

const getters = {
  menus(state) {
    return state.menus
  }
};

const actions = {
  setMenus({commit, state}, step) {
    commit('SET_MENUS_DATA', step)
  },

};

const mutations = {
  SET_MENUS_DATA(state, data) {
    state.menus = data
  },
};

export default {
  namespaced: true,
  state,
  getters,
  actions,
  mutations
}
